import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import './utils/vant.js'

import 'amfe-flexible'

// 全局过滤器
import * as moment from 'moment';
moment.locale('zh-cn')

Vue.filter('fromNow', function (value) {
  return moment(value).fromNow(); 
})

Vue.config.productionTip = false




new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
